<?php
/**
 * CreateTime: 2022/10/31 16:24
 */

namespace App\Func;

class AppFunc
{
    public static function getGcHelper(){
        return app()->gcHelper;
    }

    public static function getDingTalkConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->dingTalkConfig)();
    }

    public static function getDingApprovalCode(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->dingdingProcessCode)();
    }

    public static function getNodeConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->node_config)();
    }

    public static function getSystemConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->system_config)();
    }

    public static function getUSailsConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->uSails_config)();
    }

    public static function getQXWGConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->qxwg_config)();
    }

    public static function getHuaWeiConfig(){
        return (AppFunc::getGcHelper()->gfGetConfigurationCenter()->get()->hua_wei)();
    }
}